package org.jeecg.common.util.page;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;


/**
 * @Author ： Mr Liu
 * @Date ： 2019/5/9 23:46
 * @Description ： 分页通用数据
 */
@Data
@Valid
@ApiModel(value = "PageParam", description = "分页传入参数")
public class PageParam {


    @ApiModelProperty(name = "page", value = "当前页码", required = true, position = 1)
    private Integer page;


    @ApiModelProperty(name = "rows", value = "单页条数", required = true, position = 2)
    private Integer rows;
}
